package com.xinqi.modules.stats.score.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 线下成绩学生表实体层
 *
 * @author: system
 * @date: 2023/03/26
 */
@Setter
@Getter
@TableName("co_course_total_score_offline_student")
public class CourseTotalScoreOfflineStudentEntity extends BaseEntity {
    /** 主键id */
    private Long id;
    /** 线下成绩主表id */
    @TableField(value = "offline_score_id")
    private Long offlineScoreId;
    /** 对应学生id */
    @TableField(value = "student_id")
    private Long studentId;
    /** 学生成绩 */
    @TableField(value = "score")
    private BigDecimal score;
    /** 学生等级成绩 */
    @TableField(value = "grade")
    private String grade;
}
